import * as Icons from "@ant-design/icons-vue";
import type { App, Component } from "vue";
const keys: string[] = Object.keys(Icons).filter((key) => {
  return /[A-Z]/.test(key[0]);
});
export default {
  install: (app: App) => {
    for (const key of keys) {
      app.component(key, (Icons as { [key: string]: Component })[key]);
    }
  },
};
